<?php

namespace EM\NewsBundle\Entity;

/**
 * News
 */
class News
{
    /**
     * @var integer
     */
    private $id;

     /**
     * @var \EM\NewsBundle\Entity\User
     */
    private $author;

    /**
     * @var string
     */
    private $title;

    /**
     * @var string
     */
    private $content;

    /**
     * @var string
     */
    private $url;

       /**
     * @var \DateTime
     */
    private $dateCreated;

    /**
     * @var string
     */
    private $metaDescription;

    /**
     * @var \DateTime
     */
    private $dateUpdated;
    /**
     * @var string
     */
    private $status;

    /**
     * @var string
     */
    private $keywords;
    
      /**
     * @var string
     */
    private $image;

    /**
     * @var \EM\NewsBundle\Entity\Languages
     */
    private $language;

    /**
     * @var \EM\NewsBundle\Entity\Geography
     */
    private $geography;

    /**
     * @var \EM\NewsBundle\Entity\Source
     */
    private $source;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set author
     *
     * @param integer $author
     * @return News
     */
    public function setAuthor($author)
    {
        $this->author = $author;
    
        return $this;
    }

    /**
     * Get author
     *
     * @return integer
     */
    public function getAuthor()
    {
        return $this->author;
    }

    /**
     * Set title
     *
     * @param string $title
     * @return News
     */
    public function setTitle($title)
    {
        $this->title = $title;
    
        return $this;
    }

    /**
     * Get title
     *
     * @return string 
     */
    public function getTitle()
    {
        return $this->title;
    }

    /**
     * Set content
     *
     * @param string $content
     * @return News
     */
    public function setContent($content)
    {
        $this->content = $content;
    
        return $this;
    }

    /**
     * Get content
     *
     * @return string 
     */
    public function getContent()
    {
        return $this->content;
    }

    /**
     * Set url
     *
     * @param string $url
     * @return News
     */
    public function setUrl($url)
    {
        $this->url = $url;
    
        return $this;
    }

    /**
     * Get url
     *
     * @return string 
     */
    public function getUrl()
    {
        return $this->url;
    }

    /**
     * Set date_created
     *
     * @param \DateTime $dateCreated
     * @return News
     */
    public function setDateCreated($dateCreated)
    {
        $this->dateCreated = $dateCreated;
    
        return $this;
    }

    /**
     * Get date_created
     *
     * @return \DateTime 
     */
    public function getDateCreated()
    {
        return $this->dateCreated;
    }

    /**
     * Set date_updated
     *
     * @param \DateTime $dateUpdated
     * @return News
     */
    public function setDateUpdated($dateUpdated)
    {
        $this->dateUpdated = $dateUpdated;
    
        return $this;
    }

    /**
     * Get date_updated
     *
     * @return \DateTime 
     */
    public function getDateUpdated()
    {
        return $this->dateUpdated;
    }

    /**
     * Set status
     *
     * @param string $status
     * @return News
     */
    public function setStatus($status)
    {
        $this->status = $status;
    
        return $this;
    }

    /**
     * Get status
     *
     * @return string 
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Set meta_description
     *
     * @param string $metaDescription
     * @return News
     */
    public function setMetaDescription($metaDescription)
    {
        $this->metaDescription = $metaDescription;
    
        return $this;
    }

    /**
     * Get meta_description
     *
     * @return string 
     */
    public function getMetaDescription()
    {
        return $this->metaDescription;
    }

    /**
     * Set keywords
     *
     * @param string $keywords
     * @return News
     */
    public function setKeywords($keywords)
    {
        $this->keywords = $keywords;
    
        return $this;
    }

    /**
     * Get keywords
     *
     * @return string 
     */
    public function getKeywords()
    {
        return $this->keywords;
    }

     /**
     * Set image
     *
     * @param string $keywords
     * @return News
     */
    public function setImage($image)
    {
        $this->image = $image;
    
        return $this;
    }

    /**
     * Get image
     *
     * @return string 
     */
    public function getImage()
    {
        return $this->image;
    }
    /**
     * Set language
     *
     * @param \EM\NewsBundle\Entity\Languages $language
     * @return News
     */
    public function setLanguage(\EM\NewsBundle\Entity\Languages $language = null)
    {
        $this->language = $language;
    
        return $this;
    }

    /**
     * Get language
     *
     * @return \EM\NewsBundle\Entity\Languages 
     */
    public function getLanguage()
    {
        return $this->language;
    }

    /**
     * Set geography
     *
     * @param \EM\NewsBundle\Entity\Geography $geography
     * @return News
     */
    public function setGeography(\EM\NewsBundle\Entity\Geography $geography = null)
    {
        $this->geography = $geography;
    
        return $this;
    }

    /**
     * Get geography
     *
     * @return \EM\NewsBundle\Entity\Geography
     */
    public function getGeography()
    {
        return $this->geography;
    }

    /**
     * Set source
     *
     * @param \EM\NewsBundle\Entity\Source $source
     * @return News
     */
    public function setSource(\EM\NewsBundle\Entity\Source $source = null)
    {
        $this->source = $source; 
        return $this;
    }

    /**
     * Get source
     *
     * @return \EM\NewsBundle\Entity\Source 
     */
    public function getSource()
    {
        return $this->source;
    }



    /**
     * @var string
     */
    private $slug;


    /**
     * Set slug
     *
     * @param string $slug
     * @return News
     */
    public function setSlug($slug)
    {
        $this->slug = $slug;
    
        return $this;
    }

    /**
     * Get slug
     *
     * @return string 
     */
    public function getSlug()
    {
        return $this->slug;
    }
    /**
     * @var string
     */
    private $titleSeo;


    /**
     * Set titleSeo
     *
     * @param string $titleSeo
     * @return News
     */
    public function setTitleSeo($titleSeo)
    {
        $this->titleSeo = $titleSeo;
    
        return $this;
    }

    /**
     * Get titleSeo
     *
     * @return string 
     */
    public function getTitleSeo()
    {
        return $this->titleSeo;
    }
}